<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
    <title>更新</title>
    <c:import url="hcommon.jsp"></c:import>
    <c:import url="header.jsp"></c:import>
    <c:import url="left.jsp"></c:import>
</head>
<body>
<div style="text-align: center; width: 500px; margin: 0 auto;margin-top:68px" >
    <form action="updateMerchant.action" method="post">
        <input type="hidden" name="mid" value="${in.mid}">
        <div class="form-group">
          <label for="mname">姓名</label>
           <input type="text" class="form-control"
            id="mname" name="mname" value="${in.mname}" readonly="readonly">
        </div>
        <div class="form-group">
            <label for="msex">性别</label> <input type="text" class="form-control"
            id="msex" name="msex" value="${in.msex}" readonly="readonly">
        </div>
        <div class="form-group">
            <label for="mage">年龄</label> <input type="text" class="form-control"
            id="mage" name="mage" value="${in.mage}"  readonly="readonly">
        </div>
        <div class="form-group">
            <label for="mbirthday">出生日期</label> <input type="text" class="form-control"
                                                id="mbirthday" name="mbirthday" value="<fmt:formatDate value="${in.mbirthday}"
								pattern="yyyy-MM-dd" />"  readonly="readonly" />
        </div>
        <div class="form-group">
            <label for="midcard">身份证号</label> <input type="text" class="form-control"
                                                id="midcard" name="midcard" value="${in.midcard}"  readonly="readonly">
        </div>
        <div class="form-group">
            <label for="mpass">商家密码</label> <input type="text" class="form-control"
                                                id="mpass" name="mpass" value="${in.mpass}"  >
        </div>
        <div class="form-group">
            <label for="mtel">商家电话</label> <input type="text" class="form-control"
                                                id="mtel" name="mtel" value="${in.mage}" >
        </div>

        <div class="form-group" >
            <label for="sid">门店名称:</label>
                <select class="select" name="sid" size="1" id="sid">
                    <option value="1">高新</option>
                    <option value="2">雁塔</option>
                     <option value="3">未央</option>
                </select>
        </div>
        <input type="submit" value="提交" class="btn">

    </form>
</div>
</body>
</body>
</html>
